import { POST,GET,path } from "./config";
import { request } from "./core";


export const getList = (params) => request(GET, path.getList, params);

export const getDetailsList = (params) => request(GET, path.getDetailsList, params);


// const network = {
//   // 列表
//   getList(params) {
//     return request(POST, path.getList, params);
//   },
//   getDetail(params) {
//     return request(POST, path.getDetail, params);
//   }
// };
// export default network;
